home *** CD-ROM | disk | FTP | other *** search
- #ifndef volumeloop_h
- #define volumeloop_h
-
- #include <errors.h>
-
- #ifndef volumeinfo_h
- #include "volumeinfo.h"
- #endif
-
- class volumeloop: public volumeinfo
- {
- private:
- short index;
- public:
- volumeloop() { volumeinfo::nth(index=1); }
-
- void next() { volumeinfo::nth(++index); }
-
- boolean finished() { return whatiswrong() == nsvErr; }
- boolean unfinished() { return whatiswrong() != nsvErr; }
- };
-
- #endif volumeloop_h
-
-